﻿<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="TestWebApplication.Login" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">	
    <h2>
        Log In
    </h2>
    <p>
        Windows live account is used to login, so you'll be navigated to windows pages.
        </p>
        <LayoutTemplate>
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" 
                 ValidationGroup="LoginUserValidationGroup"/>
            <div class="accountInfo">
                <fieldset class="login">
                    <legend>Login as a customer</legend>
                    <asp:Table id="Table1" 
        GridLines="Both" 
        HorizontalAlign="Center" 
        Font-Names="Verdana"
        CellPadding="15" 
        CellSpacing="0" 
        Runat="server" Width="85%">
                        <asp:TableRow>
                        <asp:TableCell> choose a country:</asp:TableCell>
                        <asp:TableCell><asp:DropDownList ID="countries" runat="server" Width="120">
                        </asp:DropDownList></asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow>
                        <asp:TableCell>
                            Windows Live ID:</asp:TableCell>
                            <asp:TableCell>
                            <asp:TextBox Width="150" ID="liveID" runat="server" Text="mupaytest@hotmail-int.com"></asp:TextBox></asp:TableCell></asp:TableRow>
                        <asp:TableRow>
                        <asp:TableCell>
                            PUID:</asp:TableCell>
                            <asp:TableCell>
                            <asp:TextBox Width="150" ID="puid" runat="server" Text="985160516948909"></asp:TextBox></asp:TableCell></asp:TableRow>
                    <asp:TableRow>
                    <asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
                    <asp:Button ID="Button1" runat="server" BackColor="Gainsboro" BorderColor="HotTrack"
                        BorderStyle="Solid" BorderWidth="1px" ForeColor="Highlight" OnClick="login2_Click"
                        Text="Log In" />
                    </asp:TableCell></asp:TableRow>
                    </asp:Table>
                    
                </fieldset>
                
                <fieldset class="login">
                    <legend>Login as a partner</legend>
                    <p>
                        Since it's a demo, please click button below to directly log in.
                    </p>
                <p class="submitButton">
                    <asp:Button ID="createAccount" runat="server" BackColor="Gainsboro" BorderColor="HotTrack"
                        BorderStyle="Solid" BorderWidth="1px" ForeColor="Highlight" OnClick="loginPartner_Click"
                        Text="Log In" />
                </p>
                </fieldset>
            </div>
        </LayoutTemplate>
</asp:Content>
